import request from '@/utils/request'

export default{
  //课程分类列表
  getSubjectList(){
      return request({
          url:`/blogservice/blogsubject/getAllSubject`,
          method:'get'
      })
  },
  getSubjectById(id){
    return request({
      url:`/blogservice/blogsubject/getSubjectById/${id}`,
      method:'get'
  })
  }
}